﻿using NHibernate;

namespace SportStore.Core.NHibernate
{
    /// <summary>
    /// Exposes services around building a session factory
    /// </summary>
    public interface ISessionFactoryBuilder
    {
        #region Public Methods

        /// <summary>
        /// Gets an instance of a configured session factory.
        /// </summary>
        ISessionFactory CreateSessionFactory();

        #endregion
    }
}
